﻿<UserControl x:Class="Kaskelot.SP.UI.Analys.Controls.QueryBuilder"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="500" d:DesignWidth="920" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" xmlns:my="clr-namespace:Kaskelot.SP.UI.Analys.Controls">

    <UserControl.Resources>
        <my:ComboStyleSelector x:Key="ComboSelector"/>
    </UserControl.Resources>
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="35"/>
        </Grid.RowDefinitions>
      
        <StackPanel Orientation="Horizontal" Grid.Row="0">
            <Grid Background="Transparent">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="920"/>
                    <!--<ColumnDefinition Width="700"/>-->
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <!--<RowDefinition Height="0"/>-->
                    <RowDefinition Height="*"/>
                </Grid.RowDefinitions>
                
                <!--<TextBlock Style="{StaticResource ZoneHeading}" Grid.Column="0">
                    <TextBlock.Text>
                        1. Select entities and fields in pims
                    </TextBlock.Text>
                </TextBlock>
                <TextBlock Style="{StaticResource ZoneHeading}" Grid.Column="1">
                    <TextBlock.Text>
                        2. Select filters
                    </TextBlock.Text>
                </TextBlock>-->
                <my:CheckboxQueryBuilder Grid.Row="0" Grid.Column="0" HorizontalAlignment="Left" VerticalAlignment="Top" x:Name="Query" Background="Transparent" />
                <!--<my:TreeContainer Grid.Row="1" Grid.Column="0" HorizontalAlignment="Left" x:Name="TreeContainer" VerticalAlignment="Top" />
                
                <my:FilterBox Grid.Row="1" Grid.Column="1" HorizontalAlignment="Left" x:Name="FilterContainer" VerticalAlignment="Top" />-->
            </Grid>
        </StackPanel>
        <!--<StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Right">
            <HyperlinkButton Name="ResetButton" Click="ResetButton_Click" Height="34" Grid.Row="2" HorizontalAlignment="Right" Margin="0,0,10,0" Padding="0,0,0,0" Content="Clear all" />
            <Button Name="DeleteButton" Click="DeleteButton_Click" Height="34" Grid.Row="2" HorizontalAlignment="Right" Margin="0,0,40,0" Padding="0,0,0,0" Visibility="Collapsed">
                <Image Source="/Kaskelot.SP.UI.Analys;component/Images/Delete_button.png" />
            </Button>
            <Button Name="SaveButton" Click="SaveButton_Click"  Height="26" Grid.Row="2" HorizontalAlignment="Right" Margin="0,0,10,0" Padding="0,0,0,0">
                <Image Source="/Kaskelot.SP.UI.Analys;component/Images/SaveSelection_button.png" />
            </Button>
            <Button Name="SaveAsButton" Click="SaveAsButton_Click" Height="26" Grid.Row="2" HorizontalAlignment="Right" Margin="0,0,10,0" Padding="0,0,0,0">
                <Image Source="/Kaskelot.SP.UI.Analys;component/Images/SaveSelectionAs_button.png" />
            </Button>
            <Button Name="GoButton" Click="GoButton_Click" Height="26" Grid.Row="2" HorizontalAlignment="Right" Margin="0,0,10,0" Padding="0,0,0,0">
                <Image Source="/Kaskelot.SP.UI.Analys;component/Images/ShowSelection_button.png" Cursor="Hand" />
            </Button>
        </StackPanel>-->
        
    </Grid>
</UserControl>
